package com.tudouji.project.store.mapper;

import java.util.List;
import com.tudouji.project.store.domain.Storeroom;

/**
 * 库房管理Mapper接口
 * 
 * @author tudouji
 * @date 2021-01-04
 */
public interface StoreroomMapper 
{
    /**
     * 查询库房管理
     * 
     * @param guid 库房管理ID
     * @return 库房管理
     */
    public Storeroom selectStoreroomById(Long guid);
    public Storeroom selectStoreroomByGuid(String guid);

    /**
     * 查询库房管理列表
     * 
     * @param storeroom 库房管理
     * @return 库房管理集合
     */
    public List<Storeroom> selectStoreroomList(Storeroom storeroom);

    /**
     * 新增库房管理
     * 
     * @param storeroom 库房管理
     * @return 结果
     */
    public int insertStoreroom(Storeroom storeroom);

    /**
     * 修改库房管理
     * 
     * @param storeroom 库房管理
     * @return 结果
     */
    public int updateStoreroom(Storeroom storeroom);

    /**
     * 删除库房管理
     * 
     * @param guid 库房管理ID
     * @return 结果
     */
    public int deleteStoreroomById(String guid);

    /**
     * 批量删除库房管理
     * 
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deleteStoreroomByIds(String[] guids);


    public List<Storeroom> selectStoreroomByCommon(Storeroom storeroom);

    Storeroom selectStoreroomDetailByGuid(String fromsrguid);

    public Storeroom selectSaleTransferStore(String orgId);
}
